<div id="form_leave">
	<form-repeat class="approval-form-repeat" v-on:getrepeat="repeatFn" init='[{"name":"出差地点","value":""},{"name":"开始时间","value":""},{"name":"结束时间","value":""}]'>
		 <template slot-scope="props">
		 	 <div class="weui-cells">
		 	 	<div class="weui-cell">
				    <div class="weui-cell__hd">
				    	<span style="color: red;">*</span>出差地点
				    </div>
				    <div class="weui-cell__bd">
				        <input class="weui-input" type="text" v-model="props.o[0].value"  placeholder="如：北京、上海">
				       	<div v-show="false" data-text="出差地点不能为空" :data-false="/^\s*$/g.test(props.o[0].value)" ></div>
				    </div>
				</div>
		        <a class="weui-cell weui-cell_access" href="javascript:;">
		            <div class="weui-cell__bd">
		                <p><span style="color: red;">*</span>开始时间</p>
		            </div>
		            <div class="weui-cell__ft">
		            	 <mu-date-picker v-model="props.o[1].value" ></mu-date-picker>
		            	 <div v-show="false" data-text="开始时间不能为空" :data-false="/^\s*$/g.test(props.o[1].value)" ></div>
		            </div>
		        </a>
		         <a class="weui-cell weui-cell_access" href="javascript:;">
		            <div class="weui-cell__bd">
		                <p><span style="color: red;">*</span>结束时间</p>
		            </div>
		            <div class="weui-cell__ft">
		            	 <mu-date-picker v-model="props.o[2].value"></mu-date-picker>
		            	 <div v-show="false" data-text="结束时间不能为空" :data-false="/^\s*$/g.test(props.o[2].value)" ></div>
		            </div>
		        </a>
		    </div>
		</template>
	</form-repeat>
	   <div class="weui-cells">
	        <div class="weui-cell">
			    <div class="weui-cell__hd">
			    	出差天数
			    </div>
			    <div class="weui-cell__bd">
			       <input class="weui-input" v-model="submitJson.component[0].value" type="number" placeholder="请输入出差天数" />
			      	<div v-show="false" data-text="外出时间不能为空" :data-false="/^\s*$/g.test(submitJson.component[0].value)" ></div>
			    </div>
			</div>
		</div>
		<div class="weui-cells">
			<div class="weui-cells__title">出差事由</div>
			<div class=" weui-cells_form">
			  <div class="weui-cell">
			    <div class="weui-cell__bd">
			      <textarea class="weui-textarea" v-model="submitJson.component[1].value"  placeholder="请输入外出事由" rows="3"></textarea>
			      <div v-show="false" data-text="外出事由不能为空" :data-false="/^\s*$/g.test(submitJson.component[1].value)" ></div>
			    </div>
			  </div>
			</div>
	    </div>
		<upload_tpl v-on:getfile="getFilefn" name="图片"></upload_tpl>
	    <dingding_users v-on:getdingdinguser="getApproveUsers" :approve_list="approve_list" :cc_list="cc_list" message="approve" title="审批人"></dingding_users>
    <dingding_users v-on:getdingdinguser="getCopyUsers" :approve_list="approve_list" :cc_list="cc_list"  message="cc" title="抄送人"></dingding_users>
	    <div class="submit_warp">
	    	<button class="submit_btn" v-touch:tap="submitFn">提交</button>
	    </div>
	
</div>
